<?php

namespace backend\controllers;

use Yii;
use yii\db\Query;

class IndexController extends BaseController
{
    /**
     * @return string
     *
     * 主体页面
     */
    public function actionMain ()
    {
        return $this->renderPartial( '/main' );
    }

    /**
     * @return string
     *
     * 首页
     */
    public function actionIndex ()
    {
        return $this->render( 'index' );
    }

}
